package com.zyb.warehouse.mapper;

import com.zyb.warehouse.entity.Brand;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Description:品牌持久层接口
 */
@Mapper
public interface BrandMapper {

    /**
     * 查询所有品牌
     *
     * @return
     */
    @Select("select * from brand")
    List<Brand> selectAllBrand();
}
